itemDescription ds ComponentDescription ; offset: $8 (8) ; We can always construct this if we use something beyond the compontent mgr.
itemClass ds.l 1 ; offset: $1C (28) ; Class of group to put this panel (eg geometry/color/etc for panels, brightness/contrast for engines, video out/sound/etc for devices)
itemFidelity ds.l 1 ; offset: $20 (32) ; How good is this item for the specified search?
itemSubClass ds.l 1 ; offset: $24 (36) ; Subclass of group to put this panel. Can use to do sub-grouping (eg volume for volume panel and mute panel)
itemSort ds Point ; offset: $28 (40) ; Set to 0 - future to sort the items in a sub group.
itemFlags ds.l 1 ; offset: $2C (44) ; Set to 0 (future expansion)
itemReserved ds.l 1 ; offset: $30 (48) ; What kind of code does the itemReference point to (right now - kPanelEntryTypeComponentMgr only)
itemFuture1 ds.l 1 ; offset: $34 (52) ; Set to 0 (future expansion - probably an alternate code style)
itemFuture2 ds.l 1 ; offset: $38 (56) ; Set to 0 (future expansion - probably an alternate code style)
itemFuture3 ds.l 1 ; offset: $3C (60) ; Set to 0 (future expansion - probably an alternate code style)
itemFuture4 ds.l 1 ; offset: $40 (64) ; Set to 0 (future expansion - probably an alternate code style)
; pascal OSErr DMAddDisplay(GDHandle newDevice, short driver, unsigned long mode, unsigned long reserved, unsigned long displayID, Component displayComponent, Handle displayState)
;
IF ¨ GENERATINGCFM THEN
Macro
_DMAddDisplay
move.w #$0D08,D0
dc.w $ABEB
EndM
ELSE
IMPORT_CFM_FUNCTION DMAddDisplay
ENDIF
;
; pascal OSErr DMMoveDisplay(GDHandle moveDevice, short x, short y, Handle displayState)
; pascal OSErr DMSetDisplayMode(GDHandle theDevice, unsigned long mode, unsigned long *depthMode, unsigned long reserved, Handle displayState)
;
IF ¨ GENERATINGCFM THEN
Macro
_DMSetDisplayMode
move.w #$0A11,D0
dc.w $ABEB
EndM
ELSE
IMPORT_CFM_FUNCTION DMSetDisplayMode
ENDIF
;
; pascal OSErr DMCheckDisplayMode(GDHandle theDevice, unsigned long mode, unsigned long depthMode, unsigned long *switchFlags, unsigned long reserved, Boolean *modeOk)